import request from '@/utils/request'
import {getToken} from "@/utils/auth";

export function SetConf(res) {
  return request({
    url: '/api/admin/SetConf',
    method: 'post',
    params: res,
    headers: {
      Token: getToken()
    }
  })
}

export function GetConf() {
  return request({
    url: '/api/admin/GetConf',
    method: 'get',
    headers: {
      Token: getToken()
    }
  })
}
